package com.projectdemo.springbootdemo1.mapper;

import com.projectdemo.springbootdemo1.pojo.Employee;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Select;

import java.util.List;

@Mapper
public interface EmployeeMapper {

    @Select("SELECT * FROM employee")
    List<Employee> findAll();

}
